package com.achen.service.impl;

import com.achen.dao.UserDao;
import com.achen.pojo.User;
import com.achen.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author limeng
 * @create 2021-05-21 13:58
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;


    @Override
    public List<User> findAll() {
        return userDao.selectList(null);
    }
}
